/***************************************** 
 *
 * Listing 1.2
 *
 * Example performing I/O on s socket pair:
 * 
 * ******************************************/ 
#pragma once
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "dameon.h"

int httpd_write_channel(int sock, http_channel_t *send_buf, int send_len);
int httpd_read_channel(int sock, http_channel_t *recv_buf, int recv_len);
